package com.csu.letaobackend.serviceM;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.csu.letaobackend.commom.CommonResponse;
import com.csu.letaobackend.vo.BrowsingrecordVO;
import com.csu.letaobackend.vo.CategorySellVO;
import com.csu.letaobackend.vo.IncomeVO;
import com.csu.letaobackend.vo.ShopSellVO;

import java.util.Date;
import java.util.List;

public interface StatisticsMService {

      CommonResponse<IncomeVO> getDayIncome();

      CommonResponse<IncomeVO> getWeekIncome();

      CommonResponse<IncomeVO> getMonthIncome();

      CommonResponse<IncomeVO> getYearIncome();

      CommonResponse getUserNum();

      CommonResponse getSellerNum();

      CommonResponse getShopNum();

      CommonResponse getItemNum();

      CommonResponse getWeekRefund();

      CommonResponse getYearRefund();

      CommonResponse getWeekOrderNum();

      CommonResponse getYearRefundNum();

      CommonResponse<List<CategorySellVO>> getCategorySell();

      CommonResponse<List<ShopSellVO>> getShopSell();

      CommonResponse<IPage<BrowsingrecordVO>> getRecords(int pageid, int pagesize);

      CommonResponse<IPage<BrowsingrecordVO>> searchRecords(String username, Date time,int pageid,int pagesize);
}
